#pragma once

#include <vector>

int longestConsecutive(std::vector<int>& nums);